#include "interface/yinshu.h"
void OnJoined(void* userData, ErrorCode eCode) ;
void OnDisConnected(void* userData,int errCode) ;
void OnNewMemberJoined(void* userData, const char* pMemberId, const char* pDisplayName,int cameras,int mics) ;
void OnMemberEnableVideo(void* userData, const char* pMemberId, const char* pDisplayName) ;
void OnMemberDisableVideo(void* userData, const char* pMemberId, const char* pDisplayName) ;
void OnMemberUnMuteAudio(void* userData, const char* pMemberId, const char* pDisplayName) ;
void OnMemberMuteAudio(void* userData, const char* pMemberId, const char* pDisplayName);
void OnRecvUserData(void* userData, const char* data);
void OnSessionError(void* userData, const char* reason);
void OnGetUserDataHistory(void* userData, const char* data) ;
void OnMemberRoleChanged(void* userData, const char* pMemberId, const char* role) ;
void GetAudioDevicesResult(void* userData, const DeviceInfo sDeviceInfos[], int nDeviceNum,bool in);
void GetVideoDevicesResult(void* userData, const DeviceInfo sDeviceInfos[], int nDeviceNum) ;
void OnDevicesChanged(void* userData,const char* pPeerId,int cameras,int mics,int speakers,int suggestMic,int suggestSpeaker);
void OnMemberEnableScreenShare(void* userData, const char* pMemberId, const char* pDisplayName) ;
void OnMemberDisableScreenShare(void* userData, const char* pMemberId, const char* pDisplayName) ;
//空类型，离开会议
void OnPeerLeaved(void* userData,const char* peerId);
void OnMeetingEnd(void* userData);
//视频链路回调,接收链路
void OnMediaLinkInfoFun(void* userData,const char* peerName,const char* lnkJson);
//媒体状态信息
void OnMediaBandWidthInfoFun(void* userData,float upBandwith,float downBandwith);
//音频链路回调
void OnPeerAudioVolumneFun(void* userData,const char* peerName,int volumn);
//屏幕共享回调
void OnEnableScreenshareCallback(void* ud,const char* jsonData);